val fact = (n: Int) => (1 to n).product